<?php

return [

    // ----------------------- 默认配置 ----------------------- //
    'config' => [
        // 菜单配置
        'menu' => [
            'location' => 'default', // default:系统顶部菜单;addons:应用中心菜单
            'icon' => 'fa fa-user-plus',
        ],
        // 子模块配置
        'modules' => [
        ],
    ],

    // ----------------------- 权限配置 ----------------------- //

    'authItem' => [
        [
            'title' => '所有权限',
            'name' => '*',
        ],
    ],

    // ----------------------- 快捷入口 ----------------------- //

    'cover' => [

    ],

    // ----------------------- 菜单配置 ----------------------- //

    'menu' => [
        [
            'title' => '企业统计',
            'route' => 'stat/index',
            'icon' => 'fa fa-line-chart',
            'params' => []
        ],
        [
            'title' => '企业信息',
            'route' => 'merchant/index',
            'icon' => 'fa fa-user-plus',
            'params' => []
        ],
        [
            'title' => '入驻申请',
            'route' => 'merchant/apply',
            'icon' => 'fa fa-file-text-o',
            'params' => []
        ],
        [
            'title' => '企业功能',
            'route' => 'merchantFunction',
            'icon' => 'fa fa-list',
            'params' => [],
            'child' => [
                [
                    'title' => '企业分类',
                    'route' => 'cate/index',
                ],
                [
                    'title' => '企业菜单',
                    'route' => 'menu/index',
                ],
                [
                    'title' => '企业配置',
                    'route' => 'config/index',
                ],
                [
                    'title' => '默认角色',
                    'route' => 'auth-role-default/edit',
                ],
                [
                    'title' => '企业权限',
                    'route' => 'auth-item/index',
                ],
            ],
        ],
//        [
//            'title' => '企业结算',
//            'route' => 'settle-account/index',
//            'icon' => 'fa fa-jpy',
//            'params' => [],
//        ],
//        [
//            'title' => '企业余额',
//            'route' => 'credits-log/money',
//            'icon' => 'fa fa-money',
//            'params' => [],
//        ],
//        [
//            'title' => '企业提现',
//            'route' => 'commission-withdraw/index',
//            'icon' => 'fa fa-credit-card',
//            'params' => [],
//        ],
//        [
//            'title' => '基础设置',
//            'route' => 'setting/display',
//            'icon' => 'fa fa-gear',
//            'params' => []
//        ],
    ],
];